package com.cw.mapper;

import com.cw.pojo.TbItemCat;
import com.cw.pojo.TbItemCatExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface TbItemCatMapper {
    int countByExample(TbItemCatExample example);

    int deleteByExample(TbItemCatExample example);

    int deleteByPrimaryKey(Long id);

    int insert(TbItemCat record);

    int insertSelective(TbItemCat record);

    List<TbItemCat> selectByExample(TbItemCatExample example);

    TbItemCat selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") TbItemCat record, @Param("example") TbItemCatExample example);

    int updateByExample(@Param("record") TbItemCat record, @Param("example") TbItemCatExample example);

    int updateByPrimaryKeySelective(TbItemCat record);

    int updateByPrimaryKey(TbItemCat record);

    List<TbItemCat> getItemInfo(Long id);

    List<Long> selectIds(@Param("ids") Long[] ids);

    void deleteByIds(@Param("ids") Long[] ids);

    void deleteInfo(@Param("pids") List<Long> parentIds);

    void deleteParent(@Param("ids") Long[] ids);

    Long getTypeId(Long id);

    List<Long> selectThreeIds(@Param("tids") List<Long> twoIds);
}